package com.qf.controller;

import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/*
 *@Description:
 *@author:刘哥
 *@Date:86180 2022/9/20 19:48
 */
@RestController
@CrossOrigin("*")//开启跨域访问
public class TestController {
    @GetMapping("regist")
    public String add(String mail,String password){
        System.out.println("傻逼");
        System.out.println(mail+"----------"+password);
        return "你是个大傻逼";
    }
}
